package tgc.edu.tms.entity;

import javax.persistence.Entity;
import javax.persistence.ManyToOne;

import tgc.edu.tms.custom.BaseEntity;

/*
 * 图片类
 */
@Entity
public class TtbPicture extends BaseEntity<Integer>{

	private String uuid;
	private String filename;
	private TtbRecord record;
	
	public String getUuid() {
		return uuid;
	}
	public void setUuid(String uuid) {
		this.uuid = uuid;
	}
	public String getFilename() {
		return filename;
	}
	public void setFilename(String filename) {
		this.filename = filename;
	}
	@ManyToOne
	public TtbRecord getRecord() {
		return record;
	}
	public void setRecord(TtbRecord record) {
		this.record = record;
	}
	
	
}
